Objects Reference

picture::LoadTGA

Prototype

int LoadTGA(char *file)

Parameters

Parameter Type Description
file char * filename for the .tga image to load

Return Value

Returns TRUE if loading is OK, FALSE an any error.

Remarks

This function loads a .tga image. The image can be a standalone file or it can be included in a .fpk package file. Only 24 or 32 bits/pixel images are supported and they can be uncompressed or RLE compressed.